<!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>云尚奥莱</title>
</head>
<body>

<div>
    <div style="width: 100%">
        <img style="width: 100%" src="/mobile/themes/mall/default/styles/share/img/pc.jpg" usemap="#planetmap" alt="Planets">
        <map name="planetmap" id="planetmap">
            <area shape="rect" coords="200,2200,1500,2600" href ="sun.html" alt="Sun" />
        </map>
    </div>
</div>
</body>
<script src="//cdn.bootcss.com/jquery/1.12.4/jquery.min.js"></script>
<script>
    function test(){
        var code = $("#code").val();
        if(code){
            $("#tank").css("display","block");
        }else{
            var u = navigator.userAgent;
            var ua = u.toLowerCase();
            if (/iphone|ipad|ipod/.test(ua)) {  // iOS 系统 ->  跳AppStore下载地址
                //alert("iOS");
                window.location.href = 'https://apps.apple.com/cn/app/%E4%BA%91%E5%B0%9A%E5%A5%A5%E8%8E%B1/id1465194574';
            } else if ( /android/.test(ua)) { // 安卓系统 -> 跳安卓端下载地址
                window.location.href = 'https://a.app.qq.com/o/simple.jsp?pkgname=com.yunshang.ecmall';
            } else if (IsPC()){ // PC端

            }
        }
    }

</script>
</html>